@echo off

rem This is just a sample Make_data
rem You will crate a legitimate one when time permits

call config.bat

echo ************************************
echo Make Data for School Battle Project
echo ************************************

echo ***********************
echo Deleting All files
echo ***********************
cd %BUILD_DIR%
for %%f in (*.*) DO (
echo %%f
del %%f /s /q
)
for /d %%d in (*.*) DO (
echo %%d
rd %%d /s /q
)
cd %PROJECT_DIR%

echo ***********
echo Archiving Resources
echo ***********
%ZIPEXE%/7z a -y %DATA_FILE% %DATA_DIR%
rem if not exist %SPRITES_GEN_DIR% (
rem md "%SPRITES_GEN_DIR%"
rem )
rem copy "%SPRITES_DIR%"\* "%SPRITES_GEN_DIR%"
rem echo DONE!!
 
rem echo *********
rem echo STRINGS
rem echo *********
rem if not exist %STRINGS_GEN_DIR% (
rem md "%STRINGS_GEN_DIR%"
rem )
rem copy "%STRINGS_DIR%"\* "%STRINGS_GEN_DIR%"
rem echo DONE!!

pause